<template>
  <h1>布局组件</h1>
  <el-row :gutter="20">
    <!--设置左右内间距为10px-->
    <el-col :span="20" style="border:#000 solid 1px;" :offset="2">
      <img src="imgs/rich.jpg" style="width: 10%">
    </el-col>
  </el-row>
  <el-row>
    <el-col :span="4" >
      <img src="imgs/rich.jpg" style="width: 100%">
    </el-col>
    <el-col :span="8">
      <img src="imgs/rich.jpg" style="width: 100%">
    </el-col>
    <el-col :span="12">
      <img src="imgs/rich.jpg" style="width: 100%">
    </el-col>
  </el-row>
  <el-row>
    <el-col :span="3" v-for="i in 8">{{ i }}</el-col>

  </el-row>

  <el-row>
    <el-col :span="12" style="border: 1px salmon solid"></el-col>
    <el-col :span="12" style="border: 1px salmon solid">
      <el-row>
        <el-col :span="8" style="border: red solid 1px" v-for="i in 3">{{ i }}</el-col>
      </el-row>
    </el-col>
  </el-row>


  <h2>我的主页</h2>
  <el-row :gutter="10">
    <el-col :span="8" style="border: 1px salmon solid">
      <el-menu mode="horizontal" >
        <el-menu-item index="1">
        <a href="imgs/rich.jpg">首页</a>
        </el-menu-item>
        <el-menu-item index="2">神里凌华</el-menu-item>
        <el-menu-item index="3">宵宫</el-menu-item>
      </el-menu>
    </el-col>
    <el-col :span="16" style="border: 1px salmon solid">
      <el-row>
        <el-col :span="8">
          <img src="imgs/rich.jpg" style="width: 100%">
        </el-col>
        <el-col :span="8">
          <img src="imgs/rich.jpg" style="width: 100%">
        </el-col>
        <el-col :span="8">
          <img src="imgs/rich.jpg" style="width: 100%">
        </el-col>
      </el-row>
    </el-col>
  </el-row>
</template>

<script setup>

</script>

<style scoped>

</style>